package com.whl.sm.service.notice;

import com.baomidou.mybatisplus.extension.service.IService;
import com.whl.sm.common.result.Result;
import com.whl.sm.model.notice.UserCpNotice;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wuhaolun
 * @since 2021-11-17
 */
public interface UserCpNoticeService extends IService<UserCpNotice> {

    Result update(UserCpNotice userCpNotice);

    Result publishDepRole(String noticeId , String roleTypeId);

    Result publishDepUserList(String noticeId , List<String> userIdList);

    Result getByUserId(String userId);

    Result hasReadOperate(String id);
}
